package com.usian.controller;

import com.usian.entity.Sumer;
import com.usian.service.FeginSumerService;
import com.usian.vo.ResultResponse;
import lombok.Data;
import org.apache.commons.math3.stat.descriptive.summary.Sum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/8/22 11:19
 */

@RestController
@RequestMapping("/sumer")
public class SumerController {
    @Autowired
    private FeginSumerService feginSumerService;

    @GetMapping("/sumerlogin")
    public ResultResponse sumerlogin(Sumer sumer){
        return feginSumerService.sumerlogin(sumer);
    }
}
